#include "userauthhandler.h"

UserAuthHandler::UserAuthHandler(QObject *parent) :
    QObject(parent)
{

}

QList<UserDataModel*> UserAuthHandler::getAllUsers (void)
{



    DatabaseConnector dbConn;

    dbConn.setDb_host("database.db");
    dbConn.setDb_user("");
    dbConn.setDb_pass("");
    dbConn.setDb_type("QSQLITE");

    //dbConn.db.exec();

    QList<UserDataModel*> allUsers ;

    //for (int i=0; i < 200; )
    UserDataModel* test = new UserDataModel;

    test->PKid = 2;



    allUsers.append(test);

    // FE ENDE

    return allUsers;

}
